﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="ModificarPensum2.aspx.cs" Inherits="vudu.PaginasWeb.G6Pensum.ModificarPensum2" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link type="text/css" href="../../Styles/StyleGrafoPensum.css" rel="Stylesheet" />
    <style type="text/css">
        .style13
        {
            text-align: right;
        }
        .style15
        {
            text-align: left;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <table border="0" cellspacing="0" cellpadding="0" align="center" 
        style="width: 100%">
        <tr>
             <td>
                <a class="miga" href="../Home/HomeEscuela.aspx">Inicio</a>
                <a class="migaActual">></a>
                <a class="miga" href="../G6Pensum/ListarPensumNuncaActivados.aspx">Pensums modificables:</a>
                <a class="migaActual">></a>
                <a class="miga" href="../G6Pensum/ModificarPensum.aspx">Modificar Pensum:</a>
                <a class="migaActual">></a>
                <a class="miga" href="../G6Pensum/ModificarPensum1.aspx">Elegir Materia:</a>
                <a class="migaActual">></a>
                <a class="migaActual" href="../G6Pensum/ModificarPensum2.aspx">Modificar Materia</a>
            </td>
            <td>
                <asp:Label ID="nombreEscuela" runat="server" Text="Escuela Ing. Informatica" CssClass ="migaActual"></asp:Label>
            </td>
        </tr>
    </table>
    <table class="style9">
        <tr>
            <td style="width: 250px">
                &nbsp;
            </td>
            
            <td style="width: 250px">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td style="width: 250px">
                &nbsp;&nbsp;
            </td>
            <td class = "tituloGeneral" style="width: 250px; text-align: center;">
                Gestionar Pensum</td>
            <td style="width: 250px">
                &nbsp;
            </td>
        </tr>
    </table>
    <br />
        <asp:Label ID="mensaje" runat="server" 
        Style="color: #FF0000; text-align: center;"></asp:Label>
    <br />
    <fieldset style="text-align: center">
        <br />
    &nbsp;Consideraciones:&nbsp;<br />
&nbsp;- Al cambiar el semestre de una materia esta se quedará sin prelaciones<br />
&nbsp;- Siempre que se marquen prelaciones nuevas, se deben marcar las anteriores<br />
&nbsp;- Se deben rellenar y seleccionar todos los campos

        <legend>Modificacion de Materia del Pensum</legend>&nbsp;<fieldset style="margin-left: 60px;
            margin-right: 60px; margin-top: 30px;">
            
            <legend>Prelaciones</legend>
            <div class="style13">
                <div class="style15">
                    <asp:Button ID="Button1" CssClass="boton" runat="server" Text="Modificar Prelaciones"
                        OnClick="Boton_Onclick" />
                    <div style="float: left;">
                        <asp:GridView ID="GridView1" runat="server" CellPadding="3" ViewStateMode="Enabled"
                            GridLines="None" Font-Names="tahoma" Font-Size="10pt" ForeColor="#333333" Width="453px"
                            OnSelectedIndexChanged="GridView3_SelectedIndexChanged">
                            <RowStyle BackColor="#EFF3FB" />
                            <AlternatingRowStyle BackColor="White" />
                            <Columns>
                                <asp:TemplateField HeaderText="Semestre">
                                    <ItemTemplate>
                                        <asp:DropDownList ID="comboSemestre" runat="server" AutoPostBack="true" OnSelectedIndexChanged="GridView3_SelectedIndex">
                                            <asp:ListItem>1</asp:ListItem>
                                            <asp:ListItem>2</asp:ListItem>
                                            <asp:ListItem>3</asp:ListItem>
                                            <asp:ListItem>4</asp:ListItem>
                                            <asp:ListItem>5</asp:ListItem>
                                            <asp:ListItem>6</asp:ListItem>
                                            <asp:ListItem>7</asp:ListItem>
                                            <asp:ListItem>8</asp:ListItem>
                                            <asp:ListItem>9</asp:ListItem>
                                            <asp:ListItem>10</asp:ListItem>
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Unidades de Credito">
                                    <ItemTemplate>
                                        <asp:TextBox ID="texbox1" runat="server" Width="50px" ViewStateMode="Enabled" AutoPostBack="true"
                                            EnableViewState="true"></asp:TextBox>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <asp:TextBox ID="texbox1" runat="server" Width="50px" ViewStateMode="Enabled" AutoPostBack="true"
                                            EnableViewState="true"></asp:TextBox>
                                    </EditItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            <EditRowStyle BackColor="#2461BF" />
                            <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" />
                            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                            <HeaderStyle BackColor="#507CD1" Font-Bold="true" ForeColor="#ffffff" />
                            <SortedAscendingCellStyle BackColor="#F5F7FB" />
                            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                            <SortedDescendingCellStyle BackColor="#E9EBEF" />
                            <SortedDescendingHeaderStyle BackColor="#4870BE" />
                        </asp:GridView>
                    </div>
                    <div style="float: right">
                        <asp:ScriptManager ID="ScriptManager1" runat="server">
                        </asp:ScriptManager>
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
                                <asp:GridView ID="GridView8" runat="server" Enabled="false" CellPadding="4" ViewStateMode="Enabled"
                                    GridLines="None" Font-Names="tahoma" Font-Size="10pt" ForeColor="#333333" Width="300px">
                                    <RowStyle BackColor="#EFF3FB" />
                                    <AlternatingRowStyle BackColor="White" />
                                    <Columns>
                                        <asp:TemplateField HeaderText="Asignar Prelacion">
                                            <ItemTemplate>
                                                <asp:CheckBox ID="chkSeleccionEscoger" runat="server" />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:CheckBox ID="chkSeleccionEscoger" runat="server" />
                                            </EditItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                    <EditRowStyle BackColor="#2461BF" />
                                    <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" />
                                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                    <HeaderStyle BackColor="#507CD1" Font-Bold="true" ForeColor="#ffffff" />
                                    <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                    <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                    <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                    <SortedDescendingHeaderStyle BackColor="#4870BE" />
                                </asp:GridView>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                    <asp:Button ID="Habilitar" CssClass="boton" runat="server" Text="Habilitar Prelaciones"
                        OnClick="Boton2_Onclick" />
                    <br />
                    <br />
                    <div style="float: right">
                    </div>
                    <br />
                    <span class="style13">Prelaciones actuales de la materia:</span><br />
                </div>
                <asp:GridView ID="GridView5" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None"
                    Font-Names="tahoma" Font-Size="10pt">
                    <EditRowStyle BackColor="#2461BF" />
                    <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="true" ForeColor="#ffffff" />
                    <SortedAscendingCellStyle BackColor="#F5F7FB" />
                    <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                    <SortedDescendingCellStyle BackColor="#E9EBEF" />
                    <SortedDescendingHeaderStyle BackColor="#4870BE" />
                </asp:GridView>
                <br />
            </div>
        </fieldset>
    </fieldset>
    <br />
    <br />
    <br />
    <br />
    <br />
</asp:Content>
